Thanzi AI · Component library · v0.1 · Phone 360×800 dp

Tokens and components

Built for low-end Android phones used outdoors, one-handed. Atkinson Hyperlegible was chosen because it was designed for low-vision readers: letters like 1, l and I are distinct, which matters for numbers. Rules, ML advice and guidance text are kept visually apart throughout.

Rules decideStatus colour fill, chip, source line per rule. ML advisesOutlined, neutral, never a status fill. Always below the classification. Guidance explainsQuoted text with citation chips. Cream tint, serif-free quote bar.

1 · Tokens

Brand and neutrals
emerald-700#065F46 · bar, buttons
emerald-900#043D2D · pressed
mint-200#A7F3D0 · selected
mint-50#DDFBEC · hover tint
cream-100#FFF8EF · app bg
surface#FFFFFF · cards
cream-300#F4EADB · guidance
border-strong#C9BFAE · inputs
border#E1D8C8 · cards
ink#17241E · 15.8:1
ink-2#3A4741 · 9.6:1
disabled#EDE7DC / #6E6A62
Status (always colour + icon + label)
warningUrgent referralsolid #C0251A · fg #A3150B · tint #FDE8E6 · line #EBA59E
arrow_outwardRefersolid #F59E0B · fg #8A3A00 · tint #FFF0D6 · line #F0B866
eventFollow-upsolid #1D4ED8 · fg #1E40AF · tint #E5EDFF · line #A7BEF5
checkNo acute malnutrition foundsolid #A3D635 · fg #3B5E06 · tint #EEF8D8 · line #B5D77A
straightenRecheck neededsolid #475569 · fg #334155 · tint #EDF0F3 · line #B9C2CD
lightbulbAdvisory, not a diagnosisoutline #3A4741 · never filled

“No acute” uses a yellow-green (hue ≈ 120°) so it never reads as the brand emerald (hue ≈ 165°). Amber and lime use dark ink, not white, for contrast.

Type · Atkinson Hyperlegible Next
result 28/34Refer today
number 26/3211.8 cm · 7.42 kg
title 22/28Measurements
label 18/24Weight
body 17/24Measure the child again.
small 15/20CMAM 2016, Table 5, p.16
mono 14/20REF 7F3K-29Q

Minimum on screen 15 sp (meta only). Body 17 sp. No weight below 400, no grey lighter than ink-2.

Spacing · 4 dp base
s1 · 4
s2 · 8
min gap between targets
s3 · 12
s4 · 16
screen margin
s6 · 24
section gap
s8 · 32
tap · 48
minimum target; primary 56
Radius and elevation
r-sm 8 · inputs
r-md 12 · cards
r-lg 20 · sheets
r-pill · chips
e0 · 1.5 border
e1 · 2 dp ledge

No blurred shadows. A solid 2 dp “ledge” is the only elevation; it survives cheap LCDs and sunlight.

2 · App bar, navigation, chips

App bar · sync states
Thanzicloud_doneOnline
Thanzicloud_offOffline
Thanzischedule3 waiting
ThanzisyncSending 1 of 3
ThanzierrorSend failed
Bottom navigation · Home active
homeHome
groupChildren
task_altTasks2
outboxQueue3
more_horizMore

Badges: red = urgent tasks, amber = waiting to send. Labels always shown.

Send status chips
smartphoneSaved on phone scheduleWaiting to send syncSending cloud_doneSent errorFailedRetry
Child card · default
Chikondi Bandachevron_right
Girl · 14 months · Lilongwe
arrow_outwardReferLast visit 12 Nov 2026
Preterm · corrected age
Tiyamike Phirichevron_right
Boy · 4 months (corrected 2 months) · Zomba
eventFollow-upBorn 33 wk2 Nov 2026
Pressed / selected
Mphatso Mwalecheck_circle
Boy · 3 years 2 months · Mzimba
Not screened yet

3 · Measurement inputs

EMPTYWeight
0.00kg
check_box_outline_blankNot measured
FOCUSEDWeight
7.4kg
Use the numeric keypad
FILLEDWeight
7.42kg
NOT MEASUREDHead circumference
Not measuredcm
check_boxNot measured · Undo
PLAUSIBLE-RANGE WARNINGWeight
17.4kg
warningThis looks unusual. Measure again?
BLOCKING ERRORBirth weight
2.1g
errorGive grams, not kilograms. 2.1 kg = 2100 g.
DISABLEDGestational age
—weeks
From the child record. Edit there.
LENGTH + POSITIONLength or height
74.5cm
airline_seat_flatLying
accessibility_newStanding
MUAC · BAND HINTMUAC
11.9cm
under 11.511.5–12.412.5 +
Hint only. The result screen decides.
MUAC · UNDER 6 MONTHSMUAC
blockNot usedcm
MUAC is only for children 6 to 59 months.
KEYPAD
1
2
3
4
5
6
7
8
9
.
0
backspace
Next: Length

4 · Oedema, danger signs, stepper

OEDEMA · REQUIRED · NOTHING SELECTED Swelling of both feet (oedema)
None
+feet
++feet, legs, hands
+++also face
Required. Press both feet for 3 seconds. SELECTED · ++
None
+
check_circle++
+++
DANGER SIGNS · NOT CHECKED
help
Not checked yetTick signs found, or “None of these”.
SIGNS TICKED
check_boxConvulsionsbolt
check_box_outline_blankVomits everythingsick
check_boxLethargic or not alertbedtime
radio_button_uncheckedNone of these
2 signs found
CHECKED, NONE FOUND
check_box_outline_blankConvulsions
check_box_outline_blankVomits everything
radio_button_checkedNone of these
Checked, none found

“None of these” clears and locks the ticks. A blank list is sent as not checked, never as no.

STEPPER · COMPACT (TOP OF FORM)
Step 3 of 8 · OedemaNext: Danger signs
STEPPER · FULL LIST (TAP TITLE TO OPEN)
check_circleVisitDone
errorMeasurements1 to fix
3OedemaNow
4Danger signs
5Appetite and condition
6Infant and newbornSkipped · 14 mo
7Optional
8Review and send

5 · Banners and classification results

VALIDATION · BLOCKING
errorFix 2 entries to continue
• Birth weight: give grams, not kilograms.• Length: babies born before 37 weeks must be measured lying down.
Go to first entry
VALIDATION · RE-MEASURE
straightenMeasure again?
Weight 17.4 kg looks unusual for a 14-month-old.
Measure again
Keep this value
URGENT REFERRAL BANNER
warningUrgent referral
Danger signs found:
• Convulsions• Lethargic or not alert
Refer to the hospital nutrition unit today. Keep the child warm and give sugar water on the way.
CHECK BEFORE ACTING
visibility
A person should look againLow birth weight without gestational age. A clinical assessment is needed.
RESULT CARD · URGENT (SAM INPATIENT)
warningUrgent referral Severe acute malnutrition with complications Refer to the hospital nutrition unit today.
Why
MUAC 10.9 cm is under 11.5 cm.CMAM 2016, Table 4, p.14
Danger sign: convulsions.CMAM 2016, Table 5, p.16
What to do1. Explain to the caregiver.
2. Give the referral note.
3. Arrange transport now.
Decision support only. A trained clinician makes the final decision.
RESULT HEADERS · OTHER VARIANTS
arrow_outwardReferModerate acute malnutritionRefer to the health centre this week.
eventFollow-upPreterm: follow-upSee again in 7 days to check weight gain.
checkNo acute malnutrition foundNo CMAM criterion metThis does not rule out illness or poor growth.
straightenRecheck neededCould not classifyMeasure length again and complete oedema.

6 · Advisory ML, guidance and citations

ML · CONCERN RAISED
lightbulbAdvisory, not a diagnosis
The model sees a higher chance of worsening.
• Weight fell since last visit• MUAC near the line• Under 2 years
It cannot lower the result above. Use it to look more closely.
ML · NO EXTRA CONCERN
lightbulbAdvisory, not a diagnosis
The model raised no extra concern. This is not reassurance.
ML · COULD NOT BE ESTIMATED
lightbulbAdvisory, not a diagnosis
Could not be estimated: no previous visit to compare.
ML · SIMULATED MODEL
scienceSimulated model, not for care
lightbulbAdvisory, not a diagnosis
Test output only. Do not act on it.
ML · SWITCHED OFF
toggle_off
Advisory riskNot yet available
EXPLANATION · QUOTED, WITH CITATION
menu_bookFrom the guideline
“Children with SAM and any medical complication, or who fail the appetite test, should be referred to inpatient care.”
descriptionCMAM 2016, p.16Table 5
NO SOURCE
search_offNo supporting guidance was found in the approved library. Ask a supervisor or refer.
GROWTH CHART · WEIGHT-FOR-AGE
WeightLength
−3−20+2+3 6 mo18 mo Flagged: weight fell since the last visit WHO Child Growth Standards · z-score lines
GROWTH CHART · PRETERM (FENTON)
Weight vs post-menstrual agez −1.4 · 8th pct
−3−20 33 wk50 wk Open circle = birth Fenton 2025 Preterm Growth Chart, CC BY-NC-ND 4.0

7 · Tasks, empty and error states, dialogs, reports

TASK ITEMS · PRIORITY
warning
Chikondi BandaCheck referral was reachedUrgent · today
history
Grace TemboMAM follow-up visitOverdue · 3 days
today
Tiyamike PhiriPreterm weight checkDue today
event_upcoming
Mphatso MwaleRoutine screeningUpcoming · 26 Nov
check_circle
Ruth KachingweDone · 18 Nov
EMPTY STATES
group_addNo children yetRegister the first child to start.New child
search_off
No matchesTry another spelling or date of birth.
history_toggle_off
No screenings yetPast visits will show here.
ERROR STATES · WITH REFERENCE CODE
wifi_offCannot reach the server
Check your connection and try again.
REF 7F3K-29QTry again
hourglass_topServer busy
Wait a minute, then try again.REF 2B81-K0D
descriptionCould not screen
Use the paper chart from the CMAM Guidelines, Malawi, 2016.REF ENG-503 · 91AC
lockAccess deniedREF 403-11F
find_in_pageNot foundREF 404-8C2
LANGUAGE TOGGLE
checkEnglishChichewaNot yet available
CONFIRMATION DIALOG
Send this screening?You cannot change the answers after sending.
Send screeningGo back
REPORT APPROVAL CARD
Area 25 Health CentreOctober 2026
Waiting for approval
214
Screened
9
Severe
23
Moderate
4
Could not classify
Not reported: Chileka, Mitundu
ReturnApprove
DraftApprovedSent to DHIS2 · Not yet availableReturned